package com.example.demo.service;

import com.example.demo.entity.LendRecord;

import java.util.List;

public interface LendRecordService {
    int insert(LendRecord lendRecord);
    int updateByIsbn(String isbn, LendRecord lendRecord);
    int updateByCondition(LendRecord lendRecord);
    int deleteByIsbn(String isbn);
    int deleteByCondition(LendRecord lendRecord);
    List<LendRecord> selectPage(int pageNum, int pageSize, String search1, String search2, String search3);
    int selectCount(String search1, String search2, String search3);
    Long selectTotalCount();
}